export const stringify = (body: object) => {
    const params = new URLSearchParams()
    Object.entries(body).forEach(([key, value]) => {
        if (Array.isArray(value)) {
            value.forEach(v => {
                params.append(key, v)
            })
        } else if (typeof value != 'undefined') {
            params.append(key, value)
        }
    })
    return params.toString()
}
export default {}